import request from "@/utils/request"

// 获取歌手详情
export const artistDetail = id => request(`/artist/detail?id=${id}`)

// 歌手粉丝数量
export const artistFollow = id => request(`/artist/follow/count?id=${id}`)

// 获取歌手单曲
export const artists = id => request(`/artists?id=${id}`)

// 获取歌手描述
export const artistDesc = id => request(`/artist/desc?id=${id}`)

// 获取歌手专辑
export const artistAlbum = ({ id, limit = 10, offset = 0 }) => request(`/artist/album?id=${id}&limit=${limit}&offset=${offset}`)

// 获取歌手MV
export const artistMv = ({ id, limit = 10, offset = 0 }) => request(`/artist/mv?id=${id}&limit=${limit}&offset=${offset}`)

// 获取相似歌手
export const simiArtist = id => request(`/simi/artist?id=${id}`)